#!/bin/bash
echo "Prepare routes.mjs..."


cp config/routes.js config/routes.mjs

plop $@

rm config/routes.mjs

echo "Clearing routes.mjs..."

prettier --write 'config/routes.js'


echo "Job finished."
